package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdCompanyBase;
import com.shangdiao.sd_server.generator.pojo.SdCompanyBaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdCompanyBaseMapper {
    int countByExample(SdCompanyBaseExample example);

    int deleteByExample(SdCompanyBaseExample example);

    int deleteByPrimaryKey(Integer companyId);

    int insert(SdCompanyBase record);

    int insertSelective(SdCompanyBase record);

    List<SdCompanyBase> selectByExample(SdCompanyBaseExample example);

    SdCompanyBase selectByPrimaryKey(Integer companyId);

    int updateByExampleSelective(@Param("record") SdCompanyBase record, @Param("example") SdCompanyBaseExample example);

    int updateByExample(@Param("record") SdCompanyBase record, @Param("example") SdCompanyBaseExample example);

    int updateByPrimaryKeySelective(SdCompanyBase record);

    int updateByPrimaryKey(SdCompanyBase record);
}